.class Lcom/waiqin365/lightapp/visit/gp;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/visit/b/bs;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/VisitManagerActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/VisitManagerActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/gp;->a:Lcom/waiqin365/lightapp/visit/VisitManagerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Lcom/waiqin365/lightapp/visit/b/bn;)V
    .locals 5

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gp;->a:Lcom/waiqin365/lightapp/visit/VisitManagerActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/VisitManagerActivity;->h(Lcom/waiqin365/lightapp/visit/VisitManagerActivity;)Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v2, "visitPlanInfo"

    invoke-virtual {v1, v2, p1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    const-string/jumbo v2, "from"

    const-string/jumbo v3, "visitmanager"

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v2, "title"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/gp;->a:Lcom/waiqin365/lightapp/visit/VisitManagerActivity;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/visit/VisitManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "title"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gp;->a:Lcom/waiqin365/lightapp/visit/VisitManagerActivity;

    const/16 v2, 0x66

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/visit/VisitManagerActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gp;->a:Lcom/waiqin365/lightapp/visit/VisitManagerActivity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/VisitManagerActivity;->overridePendingTransition(II)V

    return-void
.end method
